﻿/*
 * Created by SharpDevelop.
 * User: Andrew
 * Date: 22/04/2013
 * Time: 22:18
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;
using RRRSRoguelike.Entities.Creatures;
using RRRSRoguelike.Managers;

namespace RRRSRoguelike.RuleSets
{
	/// <summary>
	/// The ruleset will contain the main game logic and communicate between the dungeonscreen and dungeon manager. 
	/// </summary>
	public abstract class RuleSet
	{
		
		
		public RuleSet()
		{			
			
		}
		
		public virtual void Initialize(int seed)
		{
			InitializeManagers(seed);
		}
		
		public virtual void DoLogic(){}
		
		protected void InitializeManagers(int seed)
		{
			DungeonManager.Instance.Initialize(seed);
			//DungeonManager.Instance.DungeonScreen = this;

			GameManager.Instance.GameTime.Restart();
		}
	}
}
